<template>
    <van-swipe :autoplay="3000" lazy-render>
        <van-swipe-item v-for="item in bannerImgArr" :key="item.id">
            <img :src="item.image_url" class="bannerImg" />
        </van-swipe-item>
    </van-swipe>
</template>


<script>
    export default {
        props: ["bannerImgArr"]
    }
</script>
<style scoped>
    .bannerImg {
        width: 100vw;
        height: 100%
    }
</style>